package org.jeecg.modules.demo.cwSaleInvoice.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.cwSaleInvoice.entity.CwSaleInvoice;
import org.jeecg.modules.demo.soFyft.entity.SoFyft;
import org.jeecg.modules.demo.soSettlement.entity.SoSettlementVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: cw_sale_invoice
 * @Author: jeecg-boot
 * @Date:   2021-12-15
 * @Version: V1.0
 */
public interface ICwSaleInvoiceService extends IService<CwSaleInvoice> {

    CwSaleInvoice getByInvoiceNo(String invoiceNo);

    List<CwSaleInvoice> getlistBySosNo(String sosNo);

    CwSaleInvoice getByskNo(String skNo);

    List<CwSaleInvoice> getBysoNo(String id);

    List<CwSaleInvoice> getYkpBysoNo(String id);

    List<SoSettlementVo> queryXseBymonth();

    boolean editFyft(SoFyft soFyft);

    List<CwSaleInvoice> getCollectionJob(String parameter);

    String getDepartId();
    public String getMaxCode();

    boolean addSoSkd(JSONObject jsonObject, HttpServletRequest req);

    boolean editInvoice(JSONObject jsonObject, HttpServletRequest req);
}
